package com.xinbochuang.machine.admin.mapper.macRoom;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinbochuang.machine.admin.domain.macRoom.ContrastEquipmentDetail;
import com.xinbochuang.machine.admin.dto.ContrastEquDto;
import com.xinbochuang.machine.admin.dto.EquipmentDetailDto;

/**
 *
 * @author 杜文博
 * @date 2020-09-21
 */
public interface ContrastEquipmentDetailMapper extends BaseMapper<ContrastEquipmentDetail> {

	EquipmentDetailDto findEquDetailByEquId(@Param("equId") String equId);

 	List<ContrastEquDto> selectContrastEquList (
 		@Param("cabinetId") String cabinetId,
		@Param("planId") String plan,
		@Param("pageNum") String pageNum,
		@Param("pageSize") String pageSize );

	Integer selectContrastEquCounts (
		@Param("cabinetId") String cabinetId,
		@Param("planId") String plan,
		@Param("pageNum") String pageNum,
		@Param("pageSize") String pageSize );

	ContrastEquipmentDetail selectByPlanId(@Param("equId") String s, @Param("planId") String planId);
}
